3.164 \(\int \frac{\sin (e+f x)}{(a+b \sin ^2(e+f x))^{5/2}} \, dx\)

Optimal. Leaf size=73 \[ -\frac{2 \cos (e+f x)}{3 f (a+b)^2 \sqrt{a-b \cos ^2(e+f x)+b}}-\frac{\cos (e+f x)}{3 f (a+b) \left (a-b \cos ^2(e+f x)+b\right )^{3/2}} \]

[Out]

-Cos[e + f*x]/(3*(a + b)*f*(a + b - b*Cos[e + f*x]^2)^(3/2)) - (2*Cos[e + f*x])/(3*(a + b)^2*f*Sqrt[a + b - b*
Cos[e + f*x]^2])

________________________________________________________________________________________

Rubi [A]  time = 0.0580009, antiderivative size = 73, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.13, Rules used = {3186, 192, 191} \[ -\frac{2 \cos (e+f x)}{3 f (a+b)^2 \sqrt{a-b \cos ^2(e+f x)+b}}-\frac{\cos (e+f x)}{3 f (a+b) \left (a-b \cos ^2(e+f x)+b\right )^{3/2}} \]

Antiderivative was successfully verified.

[In]

Int[Sin[e + f*x]/(a + b*Sin[e + f*x]^2)^(5/2),x]

[Out]

-Cos[e + f*x]/(3*(a + b)*f*(a + b - b*Cos[e + f*x]^2)^(3/2)) - (2*Cos[e + f*x])/(3*(a + b)^2*f*Sqrt[a + b - b*
Cos[e + f*x]^2])

Rule 3186

Int[sin[(e_.) + (f_.)*(x_)]^(m_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_.), x_Symbol] :> With[{ff = Free
Factors[Cos[e + f*x], x]}, -Dist[ff/f, Subst[Int[(1 - ff^2*x^2)^((m - 1)/2)*(a + b - b*ff^2*x^2)^p, x], x, Cos
[e + f*x]/ff], x]] /; FreeQ[{a, b, e, f, p}, x] && IntegerQ[(m - 1)/2]

Rule 192

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> -Simp[(x*(a + b*x^n)^(p + 1))/(a*n*(p + 1)), x] + Dist[(n*(p +
 1) + 1)/(a*n*(p + 1)), Int[(a + b*x^n)^(p + 1), x], x] /; FreeQ[{a, b, n, p}, x] && ILtQ[Simplify[1/n + p + 1
], 0] && NeQ[p, -1]

Rule 191

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(x*(a + b*x^n)^(p + 1))/a, x] /; FreeQ[{a, b, n, p}, x] &
& EqQ[1/n + p + 1, 0]

Rubi steps

\begin{align*} \int \frac{\sin (e+f x)}{\left (a+b \sin ^2(e+f x)\right )^{5/2}} \, dx &=-\frac{\operatorname{Subst}\left (\int \frac{1}{\left (a+b-b x^2\right )^{5/2}} \, dx,x,\cos (e+f x)\right )}{f}\\ &=-\frac{\cos (e+f x)}{3 (a+b) f \left (a+b-b \cos ^2(e+f x)\right )^{3/2}}-\frac{2 \operatorname{Subst}\left (\int \frac{1}{\left (a+b-b x^2\right )^{3/2}} \, dx,x,\cos (e+f x)\right )}{3 (a+b) f}\\ &=-\frac{\cos (e+f x)}{3 (a+b) f \left (a+b-b \cos ^2(e+f x)\right )^{3/2}}-\frac{2 \cos (e+f x)}{3 (a+b)^2 f \sqrt{a+b-b \cos ^2(e+f x)}}\\ \end{align*}

Mathematica [A]  time = 0.171712, size = 60, normalized size = 0.82 \[ \frac{2 \sqrt{2} \cos (e+f x) (-3 a+b \cos (2 (e+f x))-2 b)}{3 f (a+b)^2 (2 a-b \cos (2 (e+f x))+b)^{3/2}} \]

Antiderivative was successfully verified.

[In]

Integrate[Sin[e + f*x]/(a + b*Sin[e + f*x]^2)^(5/2),x]

[Out]

(2*Sqrt[2]*Cos[e + f*x]*(-3*a - 2*b + b*Cos[2*(e + f*x)]))/(3*(a + b)^2*f*(2*a + b - b*Cos[2*(e + f*x)])^(3/2)
)

________________________________________________________________________________________

Maple [A]  time = 1.041, size = 55, normalized size = 0.8 \begin{align*} -{\frac{ \left ( 2\,b \left ( \sin \left ( fx+e \right ) \right ) ^{2}+3\,a+b \right ) \cos \left ( fx+e \right ) }{ \left ( 3\,{a}^{2}+6\,ab+3\,{b}^{2} \right ) f} \left ( a+b \left ( \sin \left ( fx+e \right ) \right ) ^{2} \right ) ^{-{\frac{3}{2}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(f*x+e)/(a+b*sin(f*x+e)^2)^(5/2),x)

[Out]

-1/3*(2*b*sin(f*x+e)^2+3*a+b)*cos(f*x+e)/(a+b*sin(f*x+e)^2)^(3/2)/(a^2+2*a*b+b^2)/f

________________________________________________________________________________________

Maxima [A]  time = 0.958838, size = 85, normalized size = 1.16 \begin{align*} -\frac{\frac{2 \, \cos \left (f x + e\right )}{\sqrt{-b \cos \left (f x + e\right )^{2} + a + b}{\left (a + b\right )}^{2}} + \frac{\cos \left (f x + e\right )}{{\left (-b \cos \left (f x + e\right )^{2} + a + b\right )}^{\frac{3}{2}}{\left (a + b\right )}}}{3 \, f} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)/(a+b*sin(f*x+e)^2)^(5/2),x, algorithm="maxima")

[Out]

-1/3*(2*cos(f*x + e)/(sqrt(-b*cos(f*x + e)^2 + a + b)*(a + b)^2) + cos(f*x + e)/((-b*cos(f*x + e)^2 + a + b)^(
3/2)*(a + b)))/f

________________________________________________________________________________________

Fricas [B]  time = 2.53603, size = 315, normalized size = 4.32 \begin{align*} \frac{{\left (2 \, b \cos \left (f x + e\right )^{3} - 3 \,{\left (a + b\right )} \cos \left (f x + e\right )\right )} \sqrt{-b \cos \left (f x + e\right )^{2} + a + b}}{3 \,{\left ({\left (a^{2} b^{2} + 2 \, a b^{3} + b^{4}\right )} f \cos \left (f x + e\right )^{4} - 2 \,{\left (a^{3} b + 3 \, a^{2} b^{2} + 3 \, a b^{3} + b^{4}\right )} f \cos \left (f x + e\right )^{2} +{\left (a^{4} + 4 \, a^{3} b + 6 \, a^{2} b^{2} + 4 \, a b^{3} + b^{4}\right )} f\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)/(a+b*sin(f*x+e)^2)^(5/2),x, algorithm="fricas")

[Out]

1/3*(2*b*cos(f*x + e)^3 - 3*(a + b)*cos(f*x + e))*sqrt(-b*cos(f*x + e)^2 + a + b)/((a^2*b^2 + 2*a*b^3 + b^4)*f
*cos(f*x + e)^4 - 2*(a^3*b + 3*a^2*b^2 + 3*a*b^3 + b^4)*f*cos(f*x + e)^2 + (a^4 + 4*a^3*b + 6*a^2*b^2 + 4*a*b^
3 + b^4)*f)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)/(a+b*sin(f*x+e)**2)**(5/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [B]  time = 1.34598, size = 185, normalized size = 2.53 \begin{align*} \frac{{\left (\frac{2 \, b^{2} f^{2} \cos \left (f x + e\right )^{2}}{a^{2} b f^{2} + 2 \, a b^{2} f^{2} + b^{3} f^{2}} - \frac{3 \,{\left (a b f^{2} + b^{2} f^{2}\right )}}{a^{2} b f^{2} + 2 \, a b^{2} f^{2} + b^{3} f^{2}}\right )} \sqrt{-{\left (\cos \left (f x + e\right )^{2} - 1\right )} b + a} \cos \left (f x + e\right )}{3 \,{\left ({\left (\cos \left (f x + e\right )^{2} - 1\right )} b - a\right )}^{2} f} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)/(a+b*sin(f*x+e)^2)^(5/2),x, algorithm="giac")

[Out]

1/3*(2*b^2*f^2*cos(f*x + e)^2/(a^2*b*f^2 + 2*a*b^2*f^2 + b^3*f^2) - 3*(a*b*f^2 + b^2*f^2)/(a^2*b*f^2 + 2*a*b^2
*f^2 + b^3*f^2))*sqrt(-(cos(f*x + e)^2 - 1)*b + a)*cos(f*x + e)/(((cos(f*x + e)^2 - 1)*b - a)^2*f)